//
//  ProjectListCell.m
//  laowu
//
//  Created by Northwan on 15/5/9.
//  Copyright (c) 2015年 长沙市岳麓区立早网络科技有限公司. All rights reserved.
//

#import "ProjectListCell.h"

@implementation ProjectListCell

+(instancetype)cellWithTableView:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
    
    static  NSString  *CellIdentiferId = @"ProjectListCell";
    ProjectListCell  *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentiferId];
    if (cell == nil) {
        NSArray *nibs = [[NSBundle mainBundle]loadNibNamed:@"ProjectListCell" owner:nil options:nil];
        cell = [nibs lastObject];
    }
    return cell;
}

-(void)initData:(ProjectlistInfoResult *)result{
    [_jobLabel setText:[result job_name]];
    [_companyLabel setText:[result company_name]];
    [_salaryLabel setText:[result salary]];
    [_addressLabel setText:[result address]];
}

@end
